package tsvetanv.inventory.service;

import tsvetanv.inventory.model.Product;

/**
 * The <code>ProductService</code> interface declares the business logic related
 * with {@link Product} class.
 * 
 * @author Tsvetan Vasilev
 * 
 */
public interface ProductService {
	Product findByProductId(int productId);

	Product findByProductName(String productName);

	// validation on business-level
	boolean isThereAnotherProductInDBWithSameName(Product product);

	// void save(Product product);

	// void update(Product product);

	// void delete(Product product);

}
